# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xvinfo
pkgver=1.1.5
pkgrel=1
pkgdesc="Print out X-Video extension adaptor information"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
makedepends="libxv-dev"
source="https://www.x.org/releases/individual/app/xvinfo-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
18467161b248c68f6bde15e1c1b4b8cf812daf46777602558aee5fb7cb4d2649218de88fa93842fea4f316d954440f03a37d71fa4fda92eda3c7d80970e19cbb  xvinfo-1.1.5.tar.xz
"
